﻿@{
    Layout = null;
}
@model List<Dictionary<string, object>>
<table class="table" width="100%">
    <thead>
        <tr>
            <th><input type="checkbox" group="ids" class="checkboxCtrl" /></th>
            <th>编码</th>
            <th>名称</th>
            <th>保存路径</th>
            <th>个数</th>
            <th>大小（KB）</th>
            <th>类型</th>
            <th>状态</th>
        </tr>
    </thead>
    <tbody>
    @foreach (Dictionary<string, object> d in Model)
    {
        <tr>
            <td><input name="ids" id="ids" value="@d["Id"]" type="checkbox" /></td>
            <td>@d["No"]</td>
            <td>@d["Name"]</td>
            <td>@d["SavePath"]</td>
            <td>@d["MaxCount"]</td>
            <td>@d["MaxSize"]</td>
            <td>@d["FileTypes"]</td>
            <td>@(d["IsValid"].Equals(true) ? "启用" : "禁用")</td>
        </tr>
    }
    </tbody>
</table>